package com.qingmi.farmer.data.model;

import com.google.gson.annotations.SerializedName;

/**
 * 获取农户粮食订单
 */
public class GrainOrder {

    //粮食订单id
    @SerializedName("FarmerGrainOrderId")
    private String farmerGrainOrderId;

    //订单编号
    @SerializedName("FarmerGrainOrderNo")
    private String orderNo;

    @SerializedName("GrainDemand")
    private GrainDemand grainDemand;


    //订单状态 0-待合作社付款，1-待合作社付款，2-价格变动待审核，3-价格变动审核通过，4-订单完成
    @SerializedName("StatusId")
    private int status;


    @SerializedName("UpdateStatusAt")
    private long updateStatusAt;

    //定金
    @SerializedName("Deposit")
    private double deposit;

    //预估价格
    @SerializedName("EstimatedPrice")
    private double estimatedPrice;

    //实际价格
    @SerializedName("ActualPrice")
    private double actualPrice;

    //预估数量
    @SerializedName("EstimatedNum")
    private int estimatedNum;

    //实际数量
    @SerializedName("ActualNum")
    private int actualNum;

    //预估总价
    @SerializedName("EstimatedTotalMoney")
    private double estimatedTotalMoney;

    //实际总价
    @SerializedName("ActualTotalMoney")
    private double actualTotalMoney;

    //粮食库存ID
    @SerializedName("GrainInventoryId")
    private String grainInventoryId;

    @SerializedName("Address")
    private Address address;

    //订单创建时间
    @SerializedName("CreateAt")
    private long createAt;

    @SerializedName("SupplyTypeId")
    private int supplyTypeId;

    //审核状态 0、无提交 1、等待确定 2、已确定
    @SerializedName("ActualCheckStatus")
    private int actualCheckStatus;

    //是否已经确定价格 0 未确定 1 已确定
    @SerializedName("DealStatusId")
    private int dealStatusId;

    //支付方式
    @SerializedName("PayTypeId")
    private int payTypeId;

    //上报备注
    @SerializedName("Remark")
    private String remark;

    //上报时间
    @SerializedName("DealDateTime")
    private long reportTime;

    //完成时间
    @SerializedName("CompleteAt")
    private long completeTime;

    public String getFarmerGrainOrderId() {
        return farmerGrainOrderId;
    }

    public void setFarmerGrainOrderId(String farmerGrainOrderId) {
        this.farmerGrainOrderId = farmerGrainOrderId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public GrainDemand getGrainDemand() {
        return grainDemand;
    }

    public void setGrainDemand(GrainDemand grainDemand) {
        this.grainDemand = grainDemand;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getUpdateStatusAt() {
        return updateStatusAt;
    }

    public void setUpdateStatusAt(long updateStatusAt) {
        this.updateStatusAt = updateStatusAt;
    }

    public double getDeposit() {
        return deposit;
    }

    public void setDeposit(double deposit) {
        this.deposit = deposit;
    }

    public double getEstimatedPrice() {
        return estimatedPrice;
    }

    public void setEstimatedPrice(double estimatedPrice) {
        this.estimatedPrice = estimatedPrice;
    }

    public double getActualPrice() {
        return actualPrice;
    }

    public void setActualPrice(double actualPrice) {
        this.actualPrice = actualPrice;
    }

    public int getEstimatedNum() {
        return estimatedNum;
    }

    public void setEstimatedNum(int estimatedNum) {
        this.estimatedNum = estimatedNum;
    }

    public int getActualNum() {
        return actualNum;
    }

    public void setActualNum(int actualNum) {
        this.actualNum = actualNum;
    }

    public double getEstimatedTotalMoney() {
        return estimatedTotalMoney;
    }

    public void setEstimatedTotalMoney(double estimatedTotalMoney) {
        this.estimatedTotalMoney = estimatedTotalMoney;
    }

    public double getActualTotalMoney() {
        return actualTotalMoney;
    }

    public void setActualTotalMoney(double actualTotalMoney) {
        this.actualTotalMoney = actualTotalMoney;
    }

    public String getGrainInventoryId() {
        return grainInventoryId;
    }

    public void setGrainInventoryId(String grainInventoryId) {
        this.grainInventoryId = grainInventoryId;
    }

    public Address getAddress() {
        return address;
    }

    public void setAddress(Address address) {
        this.address = address;
    }

    public long getCreateAt() {
        return createAt;
    }

    public void setCreateAt(long createAt) {
        this.createAt = createAt;
    }

    public int getSupplyTypeId() {
        return supplyTypeId;
    }

    public void setSupplyTypeId(int supplyTypeId) {
        this.supplyTypeId = supplyTypeId;
    }

    public int getActualCheckStatus() {
        return actualCheckStatus;
    }

    public void setActualCheckStatus(int actualCheckStatus) {
        this.actualCheckStatus = actualCheckStatus;
    }

    public int getDealStatusId() {
        return dealStatusId;
    }

    public void setDealStatusId(int dealStatusId) {
        this.dealStatusId = dealStatusId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        remark = remark;
    }

    public int getPayTypeId() {
        return payTypeId;
    }

    public void setPayTypeId(int payTypeId) {
        this.payTypeId = payTypeId;
    }

    public long getReportTime() {
        return reportTime;
    }

    public void setReportTime(long reportTime) {
        this.reportTime = reportTime;
    }

    public long getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(long completeTime) {
        this.completeTime = completeTime;
    }
}
